package View;

import BO.Item;

public class ItemView {
	private int itemId;
	private int category;
	private String name;
	private float price;
	private String description;
	private int amount;
	
	public ItemView(Item item){
		itemId = item.getItemId();
		category = item.getCategory();
		name = item.getName();
		price = item.getPrice();
		description = item.getDescription();
		amount = item.getAmount();
	}

	public int getItemId() {
		return itemId;
	}

	public int getCategory() {
		return category;
	}

	public String getName() {
		return name;
	}

	public float getPrice() {
		return price;
	}

	public String getDescription() {
		return description;
	}

	public int getAmount() {
		return amount;
	}
	

}
